package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.TravelComment;
import cn.wolfcode.luowowo.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;


public interface ITravelCommentService {
    TravelComment get(String id);
    //分页查询
    Page<TravelComment> query(TravelCommentQuery qo);

    void save(TravelComment travelComment);

    void delete(String id);
    List<TravelComment> list();

    void update(TravelComment comment);

    List<TravelComment> queryComments(TravelCommentQuery qo);
}
